<template>
	<view>
		<view class="header">
			<view class="bg">
				<view class="box">
					<view class="box-hd">
						<view class="avator">
							<image :src="require('@/static/user/face.jpg')">
						</view>
						<view class="phone-number">18909XXXX67</view>
					</view>
					<view class="box-bd">
						<view class="item">
							<view class="icon"><image :src="require('@/static/user/message.png')"></view>
							<view class="text">我的通知</view>
						</view>
						<view class="item">
							<view class="icon"><image :src="require('@/static/user/favorite.png')"></view>
							<view class="text">我的收藏</view>
						</view>
						<view class="item">
							<view class="icon"><image :src="require('@/static/user/service.png')"></view>
							<view class="text">我的客服</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="panel" style="margin-bottom: 0;">
			<u-cell-group>
				<u-cell-item icon="tags-fill" title="我的名片"></u-cell-item>
			</u-cell-group>
		</view>
		<u-gap height="20"></u-gap>
		<view class="panel" style="margin: auto 20rpx;">
			<u-cell-group>
				<u-cell-item icon="grid-fill" title="主体切换"></u-cell-item>
				<u-cell-item icon="question-circle" title="帮助中心"></u-cell-item>
				<u-cell-item icon="info-circle-fill" title="关于我们"></u-cell-item>
				<u-cell-item icon="email-fill" title="意见反馈"></u-cell-item>
			</u-cell-group>
		</view>
		<u-gap height="20"></u-gap>
		<view class="panel" style="margin: auto 20rpx;">
			<u-cell-group>
				<u-cell-item icon="setting-fill" title="系统设置"></u-cell-item>
			</u-cell-group>
		</view>
		

	</view>
</template>
<script>
	export default {
		data() {
			return {
			};
		},
		onLoad() {
		},
		methods: {
			changeSkin(){
				uni.navigateTo({
						url: '../skin-change/skin-change'
				});
			},
		}
	}
</script>

<style lang="scss">
.header{
	background: #4191ea; padding-top: 100rpx;
	padding-bottom: 110upx;
	.bg{
		width: 100%;
		height:200upx;
		padding-top:100upx;
		background-color:#4191ea;
	}
}
.panel {
	margin: 100rpx 20rpx; border-radius: 20rpx; overflow: hidden;
}
.box{
	width: 710rpx;
	height: 280upx;
	border-radius: 20upx;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 5upx 20upx 0upx rgba(0, 0, 150, .2); 
	.box-hd{
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
		.avator{
			width: 160upx;
			height: 160upx;
			background: #fff;
			border: 5upx solid #fff;
			border-radius: 50%;
			margin-top: -80upx;
			overflow: hidden;
			image{
				width: 100%;
				height: 100%;
			}
		}
		.phone-number{
			width: 100%;
			text-align: center;
		}
	}
	.box-bd{
		display: flex;
		flex-wrap: nowrap;
		flex-direction: row;
		justify-content: center;
		.item{
			flex: 1 1 auto;
			display: flex;
			flex-wrap: wrap;
			flex-direction: row;
			justify-content: center;
			border-right: 1px solid #f1f1f1;
			margin: 15upx 0;
			&:last-child{
				border: none;
			}
			.icon{
				width: 60upx;
				height: 60upx;
				image{
					width: 100%;
					height: 100%;
				}
			}
			.text{
				width: 100%;
				text-align: center;
				margin-top: 10upx;
			}
		}
	}
}
.list-content{
	background: #fff; margin-top: 100rpx;
}
.list{
	width:100%;
	border-bottom:15upx solid  #f1f1f1;
	background: #fff;
	&:last-child{
		border: none;
	}
	.li{
		width:92%;
		height:100upx;
		padding:0 4%;
		border-bottom:1px solid rgb(243,243,243);
		display:flex;
		align-items:center;
	&.noborder{
		border-bottom:0
		}
		.icon{
			flex-shrink:0;
			width:40upx;
			height:40upx;
			image{
				width:40upx;
				height:40upx;
			}
		}
		.text{
			padding-left:20upx;
			width:100%;
			color:#666;
		}
		.to{
			flex-shrink:0;
			width:40upx;
			height:40upx;
		}
	}
}
</style>
